package com.pie4cloud.pie.job.biz.service.impl;

import com.pie4cloud.pie.jpa.BaseDao;
import com.pie4cloud.pie.jpa.BaseService;

import com.pie4cloud.pie.job.api.entity.KafkaJobRelation;
import com.pie4cloud.pie.job.biz.dao.KafkaJobRelationDao;
import com.pie4cloud.pie.job.biz.service.KafkaJobRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class KafkaJobRelationServiceImpl extends BaseService<KafkaJobRelation,String> implements KafkaJobRelationService {
	@Autowired
	private KafkaJobRelationDao kafkaJobRelationDao;

	public KafkaJobRelation save(KafkaJobRelation kafkaJobRelation){
		return super.save(kafkaJobRelation);
	}
	public KafkaJobRelation getById(String id){
		return super.getById(id);
	}
	public void delById(String id){
		kafkaJobRelationDao.deleteById(id);
	}

	@Override
	public BaseDao<KafkaJobRelation, String> getBaseDao() {
		return kafkaJobRelationDao;
	}
}
